/**
 * Created by plter on 2016/11/10.
 */

(function () {

    var btnPause = document.querySelector("#btn-pause");
    var btnPlay = document.querySelector("#btn-play");
    var player = document.querySelector("#player");

    btnPause.addEventListener("click", function (e) {
        player.pause();
    });

    btnPlay.addEventListener("click", function (e) {
        player.play();
    });

})();